package client.domain;

/**
 * User: nbarrios
 * Date: Nov 20, 2009
 */
public class ChartProperty{

	private String label;
	private Integer data;
	private String colour;

	// Constructor

	/**
	 * @param data  The value of the property
	 */
	public ChartProperty(Integer data) {
		this.data = data;
	}

	/**
	 *	Create a property
	 * @param label	The label of the property
	 * @param data	The value of the property
	 */
	public ChartProperty(String label, Integer data) {
		this.label = label;
		this.data = data;
	}

	/**
	 * @param data		The value of the property
	 * @param colour	The colour of the property
	 */
	public ChartProperty(Integer data, String colour) {
		this.data = data;
		this.colour = colour;
	}

	/**
	 *	Create a property
	 * @param label		The label of the property
	 * @param data		The value of the property
	 * @param colour	The colour of the property
	 */
	public ChartProperty(String label, Integer data, String colour) {
		this.label = label;
		this.data = data;
		this.colour = colour;
	}



	//  Getters & Setters
	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Integer getData() {
		return data;
	}

	public void setData(Integer data) {
		this.data = data;
	}

	public String getColour() {
		return colour;
	}

	public void setColour(String colour) {
		this.colour = colour;
	}

}//  End Class
